public class Base {

	private int x;

	int y;

	public Base() {

	}
	
	public Base (int x, int y){
		this.x = x;
		this.y = y;
		
	}

	public void imprime() {
		System.out.println("ok!" + x);
		System.out.println("ok!" + y);
	}

	public int getX() {
		return x;
	}

	public void setX(int xNovo) {
		if (x > 10) {
			this.x = xNovo;
		} else {
			this.x = 55;
		}

	}

}
